import request from '@/utils/request'

// 获取题库
export function findWrongQuestion(params) {
  return request({
    url: '/student/findWrongOneType',
    method: 'get',
    params,
  })
  //  /student/findWrongOneType?questionEquipmentId=2？quType=id
}
// 搜索错题题目类型
export function findWrongQuestionType(params) {
  //localhost:8080/student/findWrongType?questionEquipmentId=2
  return request({
    url: '/student/findWrongType',
    method: 'get',
    params,
  })
}
